#9月1日代码
# import matplotlib.pyplot as plt
# import numpy as np
# x = np.array([0,6])
# y = np.array([0,12])
# plt.plot(x,y)
# plt.show()
#9月8日代码
# import matplotlib.pyplot as plt
# import numpy as np
# plt.figure(num=1,figsize=(5,4),facecolor='b')
# x = np.arange(0,2*np.pi,0.1)
# y1 = np.sin(x)
# y2 = np.cos(x)
# plt.plot(x,y1)
# plt.plot(x,y2)
# plt.show()

# import matplotlib.pyplot as plt
# import numpy as np
# plt.figure(num=1,figsize=(5,4),facecolor='w')
# x = np.arange(0,2*np.pi,0.1)
# y = np.sin(x)
# plt.title('sin',loc='center',fontsize=25)
# plt.xlabel('x',fontsize=20)
# plt.ylabel('y',fontsize=15)
# plt.xlim(-1,8)
# plt.ylim(-2,2)
# plt.xticks([1,2,3])
# plt.yticks([0,1,2])
# plt.plot(x,y)
# plt.show()

# import matplotlib.pyplot as plt
# import numpy as np
# plt.figure(figsize=(8,6),facecolor='white')
# x = np.arange(1,11)
# y = np.array([30,50,70,60,50,80,30,60,70,90])
# plt.title('2-1',fontsize=20,loc='center')
# for a,b in zip(x,y):
#     plt.text(x=a,y=b,s=b,fontsize=12,ha='center',va='center')
# plt.plot(x,y,c='red',marker='0')
# plt.show()

# 9月15日代码
# import matplotlib.pyplot as plt
# import numpy as np
# plt.figure(figsize=(8,6),facecolor='white')
# plt.rcParams['font.sans-serif']='SimHei'
# x = np.arange(1,11)
# y = np.array([30,50,70,60,50,80,30,60,70,90])
# plt.title('2-1',fontsize=20,loc='center')
# plt.grid(axis='both')
# for a,b in zip(x,y):
#     plt.text(x=a,y=b,s=b,fontsize=12,ha='center',va='center')
# plt.plot(x,y,c='red',marker='o')
# plt.legend(('语文,'),loc='best')
# plt.savefig('c:/liu.png')
# plt.show()